<!--
 * @Author: your name
 * @Date: 2021-09-23 16:20:21
 * @LastEditTime: 2021-09-23 16:34:43
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \batch4-7&8\chapter_02\style\background.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>

<body>

    <div style="width: 300px; height: 200px; background-color: blue;"></div>

    <div style="width: 500px; height: 400px; 
    background-image: url('img7.jpg');
    background-repeat: repeat-y;"></div>

    <div style="width: 500px; height: 400px; 
                background: orange repeat-y url('img7.jpg') ;"></div>
    <!-- 简写：属性值来自于具体的属性；属性值顺序无关; -->


</body>

</html>